//
//  EmotionVIew.h
//  ChatTool
//
//  Created by zhuxuehang on 13-10-10.
//  Copyright (c) 2013年 zhuxuehang. All rights reserved.
//

#define EmotionViewHeight   184.0f
#import <UIKit/UIKit.h>
#import "MKHorizMenu.h"
#import "EmotiontoolView.h"
#import "EmotionScroll.h"
#import "EmotionPageView.h"


@protocol EmotionViewDelegate <NSObject>

- (void)emotionViewDidSend;

@end

@interface EmotionView : UIView<MKHorizMenuDataSource, MKHorizMenuDelegate,UIScrollViewDelegate,EmotiontoolViewDelegate>
{
    EmotiontoolView *_horizMenu;
    EmotionScroll *_emoScroll;
    UIPageControl *_pageCon;
    NSMutableArray *_items;
    __weak id _delegate;
}
@property (nonatomic, retain) EmotiontoolView *horizMenu;
@property (nonatomic, retain) EmotionScroll *emoScroll;
@property (nonatomic, strong) EmotionPageView *emoPageView;
@property (nonatomic, retain) UIPageControl *pageCon;
@property (nonatomic, retain) NSMutableArray *items;
@property (nonatomic, weak) id<EmotionViewDelegate> delegate;
+(EmotionView*)defaultEmoView;
+(EmotionView*)defaultEmoViewWithDelegate:(id)sender;
@end
